package com.xinzhi.service.impl;

import com.xinzhi.pojo.TransferRecord;
import com.xinzhi.mapper.TransferRecordMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

@Service
@Transactional
public class TransferRecordService {

    @Autowired
    private TransferRecordMapper transferRecordMapper;

    public List<TransferRecord> getAllTransferRecords() {
        return transferRecordMapper.getAllTransferRecords();
    }
}
